package question2.Test1;

public  class JavaTeacher extends Worker{
    public JavaTeacher() {
    }

    public JavaTeacher(String name, String age, String sex) {
        super(name, age, sex);
    }

    @Override
    public void work() {
        System.out.println("教Java基础");
    }
}
